Skip to content

Conversation

@MaxBlack-dev
Copy link
Contributor

Description

Adds documentation for the missing os, cpu, and unding fields in the packages section of package-lock.json.

Changes

  • Added documentation for the os field (array of compatible operating systems)
  • Added documentation for the cpu field (array of compatible CPU architectures)
  • Added documentation for the unding field (funding information from package.json)

Fixes

Closes #5849

Rationale

These fields appear in package-lock.json files for packages that specify OS/CPU restrictions or funding information in their package.json, but were not documented. This caused confusion for users examining their lockfiles.

Type of Change

Documentation update

@MaxBlack-dev MaxBlack-dev requested a review from a team as a code owner November 19, 2025 22:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[DOCS] Documentation for package-lock.json is missing os, cpu, and funding fields.

1 participant